package com.free.space;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;

/**
 * jar 方式运行启动入口
 *
 */
@SpringBootApplication
public class FreePlatformApplication extends SpringBootServletInitializer {

	public static void main(String[] args) {
		SpringApplication.run(FreePlatformApplication.class, args);
	}
	@Override
	protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) {
		return builder.sources(this.getClass());
	}
}
